package org.putrpctorest.parameter.impl.log;

import org.putrpctorest.parameter.impl.Definition;

public class DefinitionsHasInterchangeableTypesEvent extends Event {

	Definition param1;

	Definition param2;

	public DefinitionsHasInterchangeableTypesEvent(Definition param1,
			Definition param2) {
		this.param1 = param1;
		this.param2 = param2;
	}

	@Override
	public String toString() {
		return "there is a correspondence between the types of paramgers "
				+ param1.getName() + " and " + param2.getName() + " ["
				+ param1.type().getName() + "," + param2.type().getName();
	}
}
